package com.bobo.myapplication.activity;

import android.os.Bundle;
import android.view.View;

import com.bobo.myapplication.R;

public class MainActivity extends BaseActivity {

    @Override
    protected void onCreate(Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);
        setContentView(R.layout.activity_main);
    }

    public void onClick(View view){
        switch (view.getId()){
            case R.id.btn_one: //防止快速点击
                FastClickActivity.start(this);
                break;
            case R.id.btn_two: //滚轮选择器
                WheelViewActivity.start(this);
                break;
            case R.id.btn_three: //Suppor-annotation 检查注解
                AnnotationActivity.start(this);
                break;
            case R.id.btn_four: //自定义Toast
                ToastCustomActivity.start(this);
                break;
            case R.id.btn_five: //翻页View
                PageViewActivity.start(this);
                break;
            case R.id.btn_six: //自定义Log栈
                LogActivity.start(this);
                break;

        }
    }
}
